.class public Lcn/cheln/explorer/ds/scan/ScanService;
.super Landroid/app/Service;


# instance fields
.field private a:Landroid/content/Context;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Landroid/app/Service;-><init>()V

    return-void
.end method


# virtual methods
.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
    .locals 1

    const/4 v0, 0x0

    return-object v0
.end method

.method public onCreate()V
    .locals 0

    invoke-super {p0}, Landroid/app/Service;->onCreate()V

    return-void
.end method

.method public onStart(Landroid/content/Intent;I)V
    .locals 2

    iput-object p0, p0, Lcn/cheln/explorer/ds/scan/ScanService;->a:Landroid/content/Context;

    if-nez p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    iget-object v1, p0, Lcn/cheln/explorer/ds/scan/ScanService;->a:Landroid/content/Context;

    invoke-static {v0, v1}, Lcn/cheln/explorer/ds/scan/Scanner;->a(Ljava/lang/String;Landroid/content/Context;)V

    return-void

    :cond_0
    const-string v0, "scan_type"

    invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method
